<?php
include("AllWeb.inc.php");

$arrSFile = array();
//$arrSFile[0] = "/home/share/www/SourceSite-utf8/secure/member_encoding.php";
//$arrSFile[0] = "/home/share/www/luckyball.cc/secure/images/lottery/ball/00.gif";
//$arrSFile[] = "/home/share/www/luckyball.cc/secure/indexpage/top_member.html";
//$arrSFile[] = "/home/share/www/luckyball.cc/secure/indexpage/top_member3d.html";
//$arrSFile[] = "/home/share/www/luckyball.cc/secure/indexpage/top_member7s.html";
//$arrSFile[] = "/home/share/www/luckyball.cc/secure/indexpage/top_member10m.html";
//$arrSFile[] = "/home/share/www/luckyball.cc/secure/images/member/ball_7.gif";
//$arrSFile[] = "/home/share/www/luckyball.cc/secure/images/member/ball_6.gif";
//$arrSFile[] = "/home/share/www/luckyball.cc/secure/images/member/ball_5.gif";
//$arrSFile[] = "/home/share/www/luckyball.cc/secure/css/member_main_lot_b5.css";
//$arrSFile[] = "/home/share/www/luckyball.cc/secure/css/member_main_lot_b6.css";
//$arrSFile[] = "/home/share/www/luckyball.cc/secure/css/member_main_lot_b7.css";
//$arrSFile[] = "/home/share/www/luckyball.cc/secure/css/mem_main.css";
//$arrSFile[] = "/home/share/www/luckyball.cc/secure/css/member_main_lot_b8.css";
//$arrSFile[] = "/home/share/www/luckyball.cc/secure/images/member/ball_8.gif";
$arrSFile[] = "/home/share/www/luckyball.cc/secure/images/service/SkypeService.jpg";
$arrSFile[] = "/home/share/www/luckyball.cc/secure/images/service/Setskype2.jpg";
$arrSFile[] = "/home/share/www/luckyball.cc/secure/images/service/Setskype1.jpg";
$arrSFile[] = "/home/share/www/luckyball.cc/secure/images/service/click3.jpg";
$arrSFile[] = "/home/share/www/luckyball.cc/secure/images/service/click2.jpg";
$arrSFile[] = "/home/share/www/luckyball.cc/secure/images/service/click1.jpg";
$arrSFile[] = "/home/share/www/luckyball.cc/secure/images/service/A.jpg";
$arrSFile[] = "/home/share/www/luckyball.cc/secure/images/service/B.jpg";
$arrSFile[] = "/home/share/www/luckyball.cc/secure/images/service/3.jpg";
$arrSFile[] = "/home/share/www/luckyball.cc/secure/images/service/4.jpg";
$arrSFile[] = "/home/share/www/luckyball.cc/secure/images/service/call_blue_transparent_70x23.jpg";
$arrSFile[] = "/home/share/www/luckyball.cc/secure/images/service/body.jpg";

foreach($arrWeb as $strWeb){
	if($strWeb == "SourceSite")continue;
	if($strWeb == "luckyball.cc")continue;
	print ("$strWeb...<br><hr><br>\n"); 
	//mkdir("/home/share/www/".$strWeb."/secure/images/service", 0755);
	foreach($arrSFile as $strSFile){
		//$strCFile = str_replace("SourceSite-utf8", $strWeb, $strSFile);
		$strCFile = str_replace("luckyball.cc", $strWeb, $strSFile);
		if (!copy($strSFile, $strCFile)) { 
			print ("failed to copy $strSFile...<br>\n"); 
		}else{
			print ("ok to copy $strSFile...<br>\n"); 
		}
	}
}
?>